home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NT Sources
/
Infomagic - NT Source Volume 1 (Disc 1 of 2).iso
/
network
/
js15full.exe
/
tickform.ht_
/
tickform.ht
Wrap
Text File
|
1998-02-15
|
1KB
|
56 lines
<!---Java Script code by Java Script It! www.computan.on.ca/~todd/jscript --><html>
<head>
<title>Statusbar Message Maker</title>
<script language="JavaScript">
<!-- Hide the script from old browsers --
//======================================================
// Java Script code by Java Script It! www.computan.on.ca/~todd/jscipt
//======================================================
var timerID = null;
var timerRunning = false;
var id,pause=0,position=0;
function txtScroll() {
var i,x
var message="A scrolling text message that endlessly loops while the user is on this page. Use carefully, as not to sicken the user.";x=(60/message.length)+1;
for(i=0;i<=x;i++) message+=" "+message;
document.tickerTape.tickerTape.value=message.substring(position,position+60);
if(position++==128) position=2;
id=setTimeout("txtScroll()",1000/10);}
function action() {
if(!pause) {
clearTimeout(id);
pause=1; }
else {
ticker();
pause=0; }
}
// --End Hiding Here -->
</script>
<head>
<body onLoad="txtScroll()" bgColor="#FFFFFF" text="#000000">
This is what a Ticker Tape looks like in in a form text input....<p>
<div align=center>
<form name="tickerTape">
<input type="text" name="tickerTape" size="50">
</form>
</div>
</body>
</html>